package cn.wolfcode.luowowo.article.service;

import cn.wolfcode.luowowo.article.domain.Travel;
import cn.wolfcode.luowowo.article.domain.TravelContent;
import cn.wolfcode.luowowo.article.query.TravelQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * Created by Administrator on 2019/7/8.
 */
public interface ITravelService {
    PageInfo query(TravelQuery qo);

    Long saveOrUpdate(Travel travel);

    void delete(Long id);

    Travel get(Long rid);

    List<Travel> listAll();

    List<Travel> queryTop3Byview(Long id);

    TravelContent getContent(Long id);

    List<Travel> list();
}
